home *** CD-ROM | disk | FTP | other *** search
/ F1 Licenseware / F1 Licenseware - Volume 1.iso / disks / 050a.dms / 050a.adf / EXAMPLE_PROGRAMS / example09.AMOS / example09.amosSourceCode
AMOS Source Code  |  1992-02-26  |  1KB  |  49 lines

  1. '================
  2. Rem EXAMPLE9.Amos
  3. '================
  4.  
  5.  
  6. Rem hide mouse 
  7. '------------- 
  8. Hide 
  9.  
  10.  
  11. Rem load picture, try changing the name of the pic to another supplied   
  12. Rem on this disk 
  13. '--------------- 
  14. Load Iff "df0:Pics/sonic.iff",0
  15.  
  16.  
  17. Rem LOAD a tracker music module into bank 5
  18. '------------------------------------------- 
  19. Track Load "df0:music/mod.chippy",5
  20.  
  21.  
  22. Rem Play the mod that is now stored in memory bank 5 
  23. '----------------------------------------------------
  24. Track Play 5
  25.  
  26.  
  27. Rem make the mod loop back to the beginning once it reaches the end
  28. '------------------------------------------------------------------- 
  29. Track Loop On 
  30.  
  31.  
  32. Rem CLEAR the KEYboard buffer from any previous key presses
  33. '----------------------------------------------------------- 
  34. Clear Key 
  35.  
  36.  
  37. Rem WAIT for a KEY press, any key
  38. '--------------------------------
  39. Wait Key 
  40.  
  41.  
  42. Rem STOP the music 
  43. '----------------- 
  44. Track Stop 
  45.  
  46.  
  47. Rem LIST the contents of all used memory BANKs 
  48. '----------------------------------------------
  49. List Bank